package cc.decat.escript.ir.expression;

import cc.decat.escript.ir.Node;
import cc.decat.escript.ir.Visitor;

import java.util.List;

public class ListExpression extends Expression {

    private final List<Node> list;

    public ListExpression(List<Node> list) {
        this.list = list;
    }

    public List<Node> getList() {
        return list;
    }

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }
}
